From: Ævar Arnfjörð Bjarmason Date: Sat, 18 Jun 2005 03:02:17 +0000 (+0000) Subject: * @ in case $bar is undefined X-Git-Tag: 1.5.0beta1~171 X-Git-Url: http://git.cyclocoop.org/%7D%7Cconcat%7B?a=commitdiff_plain;h=ec2b44fdf50e532ac43c595f6898df83562c1fff;p=lhc%2Fweb%2Fwiklou.git * @ in case $bar is undefined --- diff --git a/includes/SkinTemplate.php b/includes/SkinTemplate.php index d5f4c2bd8d..d57b6a8f66 100644 --- a/includes/SkinTemplate.php +++ b/includes/SkinTemplate.php @@ -738,7 +738,9 @@ class SkinTemplate extends Skin { } wfProfileOut( $fname ); - return $bar; + // Warnings off in case $bar wasn't created above (bogus input, or maybe + // they just don't want a sidebar) + return @$bar; } /**